﻿using System.ComponentModel.DataAnnotations;

namespace HY.Entity
{
    /// <summary>
    /// 角色
    /// </summary>
    public class SysRole : EntityBaseModel
    {

        /// <summary>
        /// 角色名称
        /// </summary>
        [Required]
        [StringLength(20)]
        public string RoleName { get; set; }

        /// <summary>
        /// 角色描述
        /// </summary>
        [StringLength(50)]
        public string RoleDesc { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int RoleSort { get; set; }
    }
}
